﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"  schema="dbo"
                   assembly="OpenSda.Agilcont.Common.Data.Entities"
                   namespace="OpenSda.Agilcont.Common.Data.Entities"
                   default-lazy="false" default-cascade="none">
	<class name="OpenSda.Agilcont.Common.Data.Entities.User" table="common_User">
		<id name="Identity" column="UserId"  type="guid">
			<generator class="guid.comb"/>
		</id>

		<property name="UserLogin" column="UserLogin" type="AnsiString" length="10"  not-null="false"/>
		<property name="UserPassword" column="UserPassword" type="AnsiString" length="50" />
		<property name="Email" column="Email" type="AnsiString" length="50" />
		<property name="IsActive" column="IsActive" type="Boolean" not-null="false"/>
		<property name="IsExpiredPwd" column="IsExpiredPwd" type="Boolean" not-null="false"
				  />
		<property name="CreationDate" column="CreationDate" type="DateTime"/>
	</class>
</hibernate-mapping>





